//
// Created by chench on 2/20/22.
//

#ifndef ENDECRYPT_SM_H
#define ENDECRYPT_SM_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include<openssl/sms4.h>

// 安裝GmSSL
// gcc -std=c99 -L/usr/local/lib64/ -lcrypto  -o sms4 sms4.c
char *sms4(int den, char *key, char *str);


#endif //ENDECRYPT_SM_H
